<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="160" height="100" valign="top"><#include "includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
		<table width="100%" border="0">
		  <tr>
		    <th colspan="8" align='center'><b>公共专区--店铺服务</b></th>
		  </tr>
		  <tr>
		    <th colspan="8" align='right'><hr></th>
		  </tr>
		  
			<tr>
			  <th nowrap><b>店铺编号</b></th>
			  <th nowrap><b>名称</b></th>
			  <th nowrap><b>服务专员</b></th>
			  <th nowrap><b>店铺状态</b></th>
			  <th nowrap><b>所属类别</b></th>
			  <th nowrap><b>图片</b></th>
			  <th nowrap><b>优惠券</b></th>
			  <th nowrap><b>自主区域</b></th>
			</tr>

			<#if user2SiteGroupList?has_content>
				<#list user2SiteGroupList as user2SiteList>
					<#list user2SiteList as u2s>
						<tr>
						  <th nowrap><A href='<@spring.url "/liststorecoupon.jsp?ssid=${u2s.site.sysId}"/>'><IMG src='IMAGES/SITE/SITE_SMALL_DEFAULT.JPG'></A></th>
						  <th nowrap>${u2s.site.name?default("No-Name")}</th>
						  <th nowrap><#if u2s.status?has_content && u2s.status == 1004>审批通过<#else>申请中，<A href='<@spring.url "/approve2bestoreservant.asp?u2ssid=${u2s.sysId}"/>'>点击此处批准</A></#if></A></th>
						  <#if u2s.status?has_content &&u2s.status == 1004>
							  <th nowrap>
							  	<#if u2s.site.status?has_content>
							  		<#assign status=u2s.site.status>
									  <#if status == 1001>正在编辑
									  <#elseif status == 1002>申请审批
									  <#elseif status == 1003>审批失败
									  <#elseif status == 1004>审批通过
									  </#if>
							  	</#if>&nbsp;&nbsp;<A href='<@spring.url "/editapprovemyservedstore.asp?u2ssid=${u2s.sysId}"/>'>审批</A>
						  	</th>
							  <th nowrap><A href='<@spring.url "/updatemyservedstorecategory.asp?ssid=${u2s.site.sysId}"/>'>修改</A></th>
							  <th nowrap><A href='<@spring.url "/uploadmyservedstoreimages.asp?ssid=${u2s.site.sysId}"/>'>上传</A></th>
							  <th nowrap><A href='<@spring.url "/listmyservedstorecoupon.asp?ssid=${u2s.site.sysId}"/>'>发布</A></th>
							  <th nowrap><A href='<@spring.url "/editmyservedstoresection.asp?ssid=${u2s.site.sysId}"/>'>编辑</A></th>
						  <#else>
						  	<th nowrap colspan="3"></th>
						  </#if>
						</tr>
					</#list>
				</#list>
			</#if>
			
  </table>	
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">